// OUTDOOR SECTION SCRIPT
//    Section: X = 2, Y = 1

// This is the special encounter script for this town.
// The states INIT_STATE and START_STATE have
// meanings that are described in the documenation. States you write
// yourself should be numbered from 10-100.

// flags:
// 221, 1 = toadstools

beginoutdoorscript;

variables;

short choice;

body;

beginstate INIT_STATE;
// This state called whenever this section is loaded into memory.
break;

beginstate START_STATE;
// Starting state of the section, called every turn the party 
// stands inside this section until you change the state.
break;

beginstate 10;
	if (get_flag(221, 0) == 0) {
		set_flag(221, 0, 1);
		message_dialog("An abaddoned farmhouse sets next to untended crops, a casualty of the she-devil.",
			"You poke around, but find nothing useful.");
	}
break;

beginstate 11;
	run_scenario_script(21);
break;
